home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 4710 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: dtek.chalmers.se!d95josef
  2. From: d95josef@dtek.chalmers.se (Josef Sveningsson)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: Scanning strings under BASIC, avoiding INPUT "?"
  5. Date: 28 Mar 1996 11:58:03 GMT
  6. Organization: Chalmers univ. of Technology
  7. Message-ID: <4jdusb$av6@nyheter.chalmers.se>
  8. References: <4jc9kt$h3p@news.rrz.uni-koeln.de>
  9. NNTP-Posting-Host: smite.dtek.chalmers.se
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Joerg Bleimann (a2233495@rrz.Uni-Koeln.DE) wrote:
  13. : duce a SYNTAX ERROR. Are there any ways to get rid of the question mark using
  14. : BASIC on the C 64?
  15.  
  16. As I remember (it's been a long time since I did this) there are two ways to
  17. do this. One is to copy the BASIC rom into ram and change the value of the
  18. adress which contains the questionmark. But I wouldn't recomend this if
  19. you are programming in BASIC.
  20. The way to do it is to open a channel to the keyboard using OPEN. The problem
  21. is that I don't remember the exact way to do it, even though it wasn't hard.
  22. Well, basically you just open a cannel to the keyboard, read from the channel
  23. until you get a 'return' and then close the channel. I think the '64-users-
  24. manual' (or whatever it's called) will tell you more about how to open and
  25. read from the channel in the right way.
  26.  
  27.     /Josef
  28.  
  29.